package sk.marek.barak.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ThoughtServiceAsync {

	void getUserThoughts(String userID,AsyncCallback<List<UserThought>> callback);

	void saveThought(String text, AsyncCallback<UserThought> callback);

	void deleteThought(String key, AsyncCallback<Void> callback);

	void getUsersThought(List<String> usersID,
			AsyncCallback<List<UserThought>> callback);


}
